package com.haima.sage.bigdata.api.service;

import com.haima.sage.bigdata.api.entity.auditlog.AuditLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.Optional;

public interface AuditLogService {
    void save(AuditLog auditLog);

    Optional<AuditLog> findById(String id);

    Page<AuditLog> findAll(Specification<AuditLog> query, Pageable pageable);
}
